package com.hxzy.shop.dto.convert;

import com.hxzy.shop.dto.resp.DrugResp;
import com.hxzy.shop.entity.Drug;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Author ht
 * @Date 2021/7/9 11:45
 * @Version 1.0
 */
@Mapper
public abstract class DrugConvert {
    public static DrugConvert INSTANCE = Mappers.getMapper(DrugConvert.class);

    public abstract DrugResp drug2DrugResp(Drug drug);
}
